# @Time : 2021/6/19 21:53
# @Author : Li Kunlun
# @Description : 批训练
import torch
import torch.utils.data as Data  # 添加模块

seq = ['one', 'two', 'three']
# enumerate() 函数用于将一个可遍历的数据对象(如列表、元组或字符串)组合为一个索引序列
for i, element in enumerate(seq):
    # 0 one
    # 1 two
    # 2 three
    print(i, element)
